From cb3fe5eb8caf5810b539b7a2b4405bab72dd12e0 Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 27 Jun 2009 23:47:05 +0000 Subject: [PATCH] Add missing braces in GPX schema detector. --- gpx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpx.c b/gpx.c index e89b994f2..6658ce2d3 100644 --- a/gpx.c +++ b/gpx.c @@ -440,9 +440,10 @@ tag_gpx(const char **attrv) */ else if (strcmp(avp[0], "xsi:schemaLocation") == 0) { if (0 == strcmp(avp[1], DEFAULT_XSI_SCHEMA_LOC_11)) { - if (0 == strcmp(xsi_schema_loc, DEFAULT_XSI_SCHEMA_LOC)) + if (0 == strcmp(xsi_schema_loc, DEFAULT_XSI_SCHEMA_LOC)) { xfree(xsi_schema_loc); xsi_schema_loc = xstrdup(DEFAULT_XSI_SCHEMA_LOC_11); + } continue; } if (0 == strstr(xsi_schema_loc, avp[1])) { -- 2.30.2